*** Using WSC with Visual FoxPro *** The program FOXTEST.PRG is a Visual FoxPro 3.0/5.0 program that transmits an "AT" to a modem and expects to receive an "OK" back. The port is set to COM1 but can be changed as necessary. Refer to the WSC declaration FoxPro file WSC32.FOX for the complete list of WSC constants and functions. Note the required syntax for passing strings: *** Declaration DECLARE INTEGER SioWinError in WSC32.DLL STRING @Buffer, INTEGER Size *** Calling DLL function Buffer = SPACE(128) Code = SioWinError(@Buffer, 128)